/*配置自定义主题颜色 */
const { override, fixBabelImports, addLessLoader } = require('customize-cra');

module.exports = override(
    addLessLoader({
        javascriptEnabled: true,
        modifyVars: {'@brand-primary': '#2ba51d'},
    }),
    fixBabelImports('import', {
        libraryName: 'antd-mobile',
        libraryDirectory: 'es',
        style: true,
    }),
);